let list = [{
	value: 0,
	name: '每小时'
}, {
	value: 1,
	name: '每半天'
}, {
	value: 2,
	name: '每天'
}, {
	value: 3,
	name: '每晚'
}, {
	value: 4,
	name: '每周'
}, {
	value: 5,
	name: '每月'
}, {
	value: 6,
	name: '每次'
}, {
	value: 7,
	name: '每个'
}, {
	value: 8,
	name: '每套'
}, {
	value: 9,
	name: '每台'
}, {
	value: 10,
	name: '每分钟'
}, {
	value: 11,
	name: 'KG'
}, {
	value: 12,
	name: '吨'
}, {
	value: 13,
	name: '斤'
}, {
	value: 14,
	name: '米'
}, {
	value: 15,
	name: 'KM'
}, {
	value: 16,
	name: 'M'
}, {
	value: 17,
	name: '课时'
}, ]

const filterType = (type) => {
	let data = list.filter((item) => type == item.value)
	if (data.length > 0) {
		return data[0].name
	} else {
		return false
	}
}
export default filterType